package com.itheima.date;


import java.util.Calendar;
import java.util.Date;

public class CalendarTest {
    public static void main(String[] args) {
        Calendar c = Calendar.getInstance();
        int i = c.get(Calendar.YEAR);
        System.out.println(i);
        int monday = Calendar.MONDAY;

        int i1 = c.get(Calendar.MONTH);
        System.out.println(i1);


    }
}
